Launch Auto Close Departed Vessel Visits Job

Launches the Auto Close Departed Vessel Visits background job that closes all departed vessel visits automatically. The background job works based on the N4 settings ARGOVESSELACTIVITY003 (DEPARTED_VESSEL_VISITS_DAYS_TO_CLOSE) and ARGOVESSELACTIVITY004 (FREQUENCY_IN_DAYS_TO_CLOSE_DEPARTED_VESSEL_VISITS).

For example, consider you set -

ARGOVESSELACTIVITY003 = 14

ARGOVESSELACTIVITY004 = 7

In the above case, N4 triggers the Auto Close Departed Vessel Visits Job every  7 days. When the job is triggered, N4 looks for any departed vessel visits that have been open for more than 14 days. If matching values are found, those vessel visits are closed automatically by the job. N4 records an event in the History, Events tab in the Vessel Inspector for the same